/*
 * Created: 2022-08-27 09:51:07
 * Author : 涛涛涛
 */

import React, { FC } from 'react';
import { View, Text } from '@tarojs/components';
import { styled } from 'linaria/react';
import { useClassName } from '@/utils/index';
import Headline from './Headline/Headline';
import CoverImg from './CoverImg/CoverImg';
import Information from './Information/Information';
export interface IProps extends ICompProps {}
BaseInfo.defaultProps = {} as Partial<IProps>;
function BaseInfo(props: IProps) {
    const { className, style } = props;
    const localClassName = useClassName('BaseInfo', className);
    return (
        <RootView className={localClassName} style={style}>
            <Headline></Headline>
            <CoverImg></CoverImg>
            <Information></Information>
        </RootView>
    );
}
export default React.memo(BaseInfo as FC<IProps>);
const RootView = styled(View)`
    &.BaseInfo {
    }
`;
